package org.giovanolli.mumi.service;

import java.util.List;

import org.giovanolli.mumi.entities.security.Role;
import org.giovanolli.mumi.entities.security.User;

public interface UserService extends Service<User> {

	User getUserByUsername(final String username);

	List<Role> getAllRoles();

	void saveUser(User user, boolean encodePassword);
}
